import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner num = new Scanner(System.in);
        while (num.hasNext()) {
            double a = num.nextDouble();
            double b = num.nextDouble();
            double c = num.nextDouble();
            if (a == 0) {
                System.out.println("Not quadratic equation");
            } else {
                double delta = b * b - 4 * a * c;
                double x1 = (-b + Math.sqrt(delta)) / (2 * a);
                double x2 = (-b - Math.sqrt(delta)) / (2 * a);
                if (delta == 0) {
                    System.out.println("x1 = x2 = " + (-b / (2 * a)));
                } else if (delta > 0) {
                    if(x1>x2){
                        System.out.printf("%.3f","x1 "+x2);
                    }
                } else {
                    System.out.println("1");
                }
            }
        }
    }
}
